TypePokemon

@Serializable
data class TypePokemon(val slot: Int, val pokemon: Handle.Named<PokemonVariety>)(source)

Details of Pokémon that have a specific type. See: https://pokeapi.co/docs/v2#typepokemon

Parameters

slot

The order the Pokémon's types are listed in.

pokemon

The Pokémon that has this type.

Constructors

Link copied to clipboard
constructor(slot: Int, pokemon: Handle.Named<PokemonVariety>)

Properties

Link copied to clipboard
Link copied to clipboard
val slot: Int